@import "../../../common/static/lib/css/root.less";
.widget-banner{
  width: 100%;
  height: 500px;
  position: relative;

  .block{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    background-size:100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #ffd700;
    .transition(background 1s ease);
    z-index: 1;
    .content{
      height: 100%;
      width: 1000px;
      position: absolute;
      left:50%;
      margin-left:-500px;
      top:0;
      z-index: -1;
      cursor: pointer;
      display: none;
      .img,.btn,.else{
        position: absolute;
        .transition(all 1s ease);
        opacity: 0;
      }
    }


    .content03{
      .img1{
        position: absolute;
        width:800px;
        height: 400px;
        left:100px;
        top:50px;
      }

      .img2{
        position: absolute;
        left:200px;
        top:50px;
        .transform(translate(200px,200px));
      }

      .img3{
        position: absolute;
        right:200px;
        top:50px;
        .transform(translate(-200px,200px));
      }

    }

    .content04{
      .img1{
        position: absolute;
        width:800px;
        height: 400px;
        left:100px;
        top:50px;
      }

      .img2{
        position: absolute;
        right: 100px;
        top: 170px;
        .transform(scale(0.1));
      }
    }

//    .content01{
//      .img1{
//        position: absolute;
//        width:800px;
//        height: 400px;
//        left:100px;
//        top:50px;
//      }
//
//      .img2{
//        position: absolute;
//        right:0;
//        top:50px;
//        .transform(translate(200px,0));
//
//      }
//
//      .img3{
//        position: absolute;
//        right:0;
//        top:150px;
//        .transform(translate(200px,0));
//      }
//
//      .img4{
//        position: absolute;
//        right:0;
//        top:280px;
//        .transform(translate(200px,0));
//      }
//    }


    .content02{
      .img1{
        position: absolute;
        width:800px;
        height: 400px;
        left:100px;
        top:50px;
      }
      .img2{
        position: absolute;
        right: 280px;
        top: 110px;
        .transform(rotate(0));
      }
    }


    .content0{
       .img1{
         position: absolute;
         width:100%;
         height: 100%;
         left:0;
         top:0;
       }

      .img2{
        right: 100px;
        top:100px;
        .transform(translate(500px,0))
      }

      .img3{

      }

      .btn{
        position: absolute;
        left: 40px;
        bottom:100px;
        padding:15px 80px;
        font-size: 18px;
//        font-weight: 700;
        .transform(translate(-50px, 0))
      }

      .profit-rate{
        color: #fff;
        font-size: 150px;
        position: absolute;
        left: 0;
        top: 80px;
        font-weight: bold;
        width: 350px;
        text-align: center;
      }

      .time{
        width:316px;
        height:129px ;
        position: absolute;
        left: 0;
        bottom:80px;
        background: url(./banner0/time.png) no-repeat center bottom;
        .desc{
          text-align: center;
          padding-top:10px;
          color:#fff;
          font-weight: 700;
          font-size:30;
        }
        .hours{
          position: absolute;
          top: 45px;
          width: 80px;
          height: 80px;
          left: 15px;
          line-height: 85px;
          text-align: center;
          font-size: 60px;
          font-weight: 700;
        }

        .minute{
          position: absolute;
          top: 45px;
          width: 80px;
          height: 80px;
          left: 117px;
          line-height: 85px;
          text-align: center;
          font-size: 60px;
          font-weight: 700;
        }

        .second{
          position: absolute;
          top: 45px;
          width: 80px;
          height: 80px;
          left: 220px;
          line-height: 85px;
          text-align: center;
          font-size: 60px;
          font-weight: 700;
        }
      }
    }

    .content1{
      .img1{
        top:50px;
        left:100px;
      }
      .img2{
        right: 100px;
        top:110px;
        .transform(translate(50px, -50px))
      }
      .btn{
        right:110px;
        bottom:120px;
        .transform(translate(50px, 0))
      }
    }

    .content2{
      .img1{
        top:70px;
        left:0;
      }
      .img2{
        right: 50px;
        top:70px;

      }
      .img3{
        bottom:70px;
        left:50px;
        .transform(translate(-50px, 0))
      }
      .img4{
        left: 50%;
        bottom:70px;
        margin-left:-150px;
        opacity: 0;
      }
      .img5{
        bottom:70px;
        right:50px;
        .transform(translate(50px, 0))
      }
    }

    .content3{
      .img1{
        position: absolute;
        width:1000px;
        left:0;
        top:50px;
      }
    }

    .active{
      z-index: 5;
      .img,.btn,.else{
        .transform(translate(0, 0));
        opacity: 5;
      }
    }
//    .active.content01{
//      .img3{
//        transition-delay:0.5s;
//      }
//      .img4{
//        transition-delay:1s;
//      }
//    }

    .activie.content04{
      .img2{
        .transform(scale(1));
      }
    }

    .active.content02{
      .img2{
        .transform(rotate(1845deg));
      }
    }
  }

  .points{
    height: 30px;
    position: absolute;
    left:50%;
    bottom:0;
    z-index: 10;
    i{
      display: block;
      margin-right:10px;
      width: 14px;
      height: 14px;
      background: #bcbcbc;
      .border-radius(7px);
      cursor: pointer;
      float: left;
      transition:background 1s ease;
    }
    .active{
      background: #4545e6;
      .transform(scale(1.2));
    }
  }
}